//第一步使用vue创建项目
// import Vue from "vue";
//Vue.createApp();
import { createApp } from "vue";
//导入App.vue,它是根组件，相当于body标签
import App from "./App.vue";
//导入路由模块
import router from "./router/index.js"; 
//导入全局组件page-view
import PageView from "./components/page-view.vue"
//引入tailwind
import './assets/css/index.css'
//引入vant
import Vant from "vant";
import 'vant/lib/index.css'
//第二步创建Vue实例
const app=createApp(App);
app.use(router).use(Vant);
//注册全局组件
app.component("page-view",PageView)
//第三步用Vue的实例去接管页面
app.mount('#app');